Re: problem with array of boxes - Mailing list pgsql-general

From Andre Radke
Subject Re: problem with array of boxes
Date
Msg-id p05100300b8ba56eb5e10@[192.168.1.5]
Whole thread Raw
In response to Re: problem with array of boxes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
At 18:01h -0500 16.03.2002, Tom Lane wrote:
>I've finished looking into this, and the short answer is that your input
>is not syntactically correct.  Because type box has typdelim = ';', the
>correct input would have been
>
>INSERT INTO boxarray_test VALUES ('{"(3,3),(1,1)";"(4,4),(2,2)"}');

Thanks! I changed my code to use a semi-colon instead of a comma as
delimiter and that indeed solved my problem.

>This still leaves us with the question of whether it's really a good
>idea that type box has typdelim ';' and not ',' like everything else
>uses.  Anyone have a strong feeling about changing it or not?

I'm relatively new to PostgreSQL, so I don't have a qualified opinion on this.

-Andre


--
Andre Radke + mailto:lists@spicynoodles.net + http://www.spicynoodles.net/

pgsql-general by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: [ODBC] ODBC
Next
From: Tom Lane
Date:
Subject: Re: Maintainer(s) for gborg?